#!/bin/bash

ROOT_DIR=$(pwd)
RELEASE_DIR=/work/release/iecg/ui/

cd ${ROOT_DIR}
git pull origin master
npm run pre
npm run build
rm -rf ./dist.tar
tar -cvf dist.tar ./dist
#cp ./dist.tar ${RELEASE_DIR}
#cd ${RELEASE_DIR}
#tar -xvf ./dist.tar
